DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / FilterAsync Method / FilterAsync<T>(IDataCollection<T>,Expression<Func<T,Object>>,FilterOperation,Object) Method
The data collection.
The path of the data item to which the filter will be applied.
The filter operation.
The value used in the expression.

In This Topic
    FilterAsync<T>(IDataCollection<T>,Expression<Func<T,Object>>,FilterOperation,Object) Method
    In This Topic
    Filters the data using specified filter parameters.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FilterAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal filterPath As Expression(Of Func(Of T,Object)), _
       ByVal filterOperation As FilterOperation, _
       ByVal value As Object _
    ) As Task
    public static Task FilterAsync<T>( 
       IDataCollection<T> dataCollection,
       Expression<Func<T,object>> filterPath,
       FilterOperation filterOperation,
       object value
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    filterPath
    The path of the data item to which the filter will be applied.
    filterOperation
    The filter operation.
    value
    The value used in the expression.

    Type Parameters

    T
    See Also